package com.wq.cto.jvm;

/**
 * @Author: wangqiang20995
 * @Date:2018/2/3
 * @Description:
 * @Resource:
 */
public class DemoClassLoader {

    public static void main(String args[]){
        System.out.println(System.getProperty("java.class.path"));
        //获取当前的classpath路径
        String classPath = DemoClassLoader.class.getClassLoader().getResource("").toString();
        System.out.println(classPath);
    }
}
